package com.eaoa.uc.busroute.bo;

import com.eaoa.base.EABaseBusinessObject;
import com.eaoa.dao.bus.BusRouteDAO;
import com.eaoa.vo.bus.BusRoute;

public class BusRouteDeleteBO extends EABaseBusinessObject{
	private static BusRouteDAO RouteDAO = new BusRouteDAO();
	private Long id;
	
	
	public BusRouteDeleteBO(Long id) {
		super();
		this.id = id;
	}
	protected void performBusinessLogic() {
		BusRoute po =  (BusRoute)RouteDAO.loadAndLock(id);
		RouteDAO.delete(po);
	}
}
